const getters = {
  token: (state: any) => state.user.userInfo.token,
  avatar: (state: any) => state.user.userInfo.avatar,
  nickname: (state: any) => state.user.userInfo.nickname,
  id: (state: any) => state.user.userInfo.id,
}
export default getters